import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { DocumentRoutingModule } from './document-routing.module';
import { MyDocumentComponent } from './my-document/my-document.component';
import { EditDocumentComponent } from './edit-document/edit-document.component';
import {NzFormModule} from "ng-zorro-antd/form";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {NzSelectModule} from "ng-zorro-antd/select";
import {NzButtonModule} from "ng-zorro-antd/button";
import {NzTableModule} from "ng-zorro-antd/table";
import {NzIconModule} from "ng-zorro-antd/icon";
import {NzPopconfirmModule} from "ng-zorro-antd/popconfirm";
import {BarnPipeModule} from "../../../../barn-pipe.module";
import {NzInputModule} from "ng-zorro-antd/input";
import {NzModalModule} from "ng-zorro-antd/modal";
import {ProjectSelectionModule} from "../../../common-components/project-selection/project-selection.module";
import {NzDividerModule} from "ng-zorro-antd/divider";
import {PicUploadModule} from "../../../common-components/pic-upload/pic-upload.module";
import {NzSpinModule} from "ng-zorro-antd/spin";
import { AllDocumentComponent } from './all-document/all-document.component';
import {NzListModule} from "ng-zorro-antd/list";
import { DocumentPreviewComponent } from './document-preview/document-preview.component';
import {NzTypographyModule} from "ng-zorro-antd/typography";
import {NzPaginationModule} from "ng-zorro-antd/pagination";


@NgModule({
  declarations: [MyDocumentComponent, EditDocumentComponent, AllDocumentComponent, DocumentPreviewComponent],
  imports: [
    CommonModule,
    FormsModule,
    DocumentRoutingModule,
    NzFormModule,
    ReactiveFormsModule,
    NzSelectModule,
    NzButtonModule,
    NzTableModule,
    NzIconModule,
    NzPopconfirmModule,
    BarnPipeModule,
    NzInputModule,
    NzModalModule,
    ProjectSelectionModule,
    PicUploadModule,
    NzDividerModule,
    NzSpinModule,
    NzListModule,
    NzTypographyModule,
    NzPaginationModule
  ]
})
export class DocumentModule { }
